package ma.ensao.egicom.core.dao.interfaces;

import java.util.List;

import ma.ensao.egicom.core.model.Supplier;

public interface SupplierDAO {

    public void save(Supplier transientInstance);

    public void delete(Supplier persistentInstance);

    public Supplier findById(java.lang.Long id);

    public List findByProperty(String propertyName, Object value);

    public List findByFirstname(Object firstname);

    public List findByLastname(Object lastname);

    public List findByEmail(Object email);

    public List findAll();

}
